package com.zzyl.mapper;

import com.zzyl.base.ResponseResult;
import com.zzyl.dto.AddNursingLeverDto;
import com.zzyl.dto.GetPageNursingsDto;
import com.zzyl.dto.UpdateNursingLeverDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {

    public List<NursingLevelVo> getAllNursingLevel() ;

    List<NursingLevelVo> getPageNursingLevel(GetPageNursingsDto dto);

    NursingLevelVo getNursingLevelById(Integer id);

    void deleteNursingLeverById(Integer id);

    List<NursingLevelVo> getNursingLevelByName(String name);

    void insertNursingLever(NursingLevel nursingLevel);

    void updateNursingLever(NursingLevel nursingLevel);

    void updateNursingLevel(Integer id, Integer status);
}
